package com.example.demo.mapper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "sys_user")
public class SysUser {
    @TableId(value = "user_id", type = IdType.AUTO)
    private int userId;
    private String number;
    private String name;
    private String avatar;
    private String phone;
    private String email;
    private String password;
    private String schoolId;
    private String createTime;
    private int state;
}
